<template>
  <div class="wujie-test">
    <input type="text" v-model="test" />
    <!-- <WujieVue
      width="100%"
      height="100%"
      name="xxx"
      :url="xxx"
      :sync="true"
      :fetch="fetch"
      :props="props"
      :beforeLoad="beforeLoad"
      :beforeMount="beforeMount"
      :afterMount="afterMount"
      :beforeUnmount="beforeUnmount"
      :afterUnmount="afterUnmount"
    ></WujieVue> -->
    <!-- http://localhost:3001/home -->
    <WujieVue
      width="100%"
      height="100%"
      name="xxx"
      url="http://192.168.129.181/ep-front-test/#/?webview=1"
      :sync="true"
      :plugins="plugins"
    ></WujieVue>
    <!-- <WujieVue
      width="100%"
      height="100%"
      name="xxx"
      url="http://192.168.129.181/wgq-bs"
      :sync="true"
      :plugins="plugins"
    ></WujieVue> -->
  </div>
</template>

<script>
export default {
  name: 'microApp1',
  data() {
    return {
      test: '下面是嵌套了一个其他应用',
      plugins: [
        {
          jsBeforeLoaders: [
            {
              callback() {
                // window.plugin_epfrontvar = plugin_epfrontvar
                // console.log(11111,plugin_epfrontvar)
              }
            }
          ]
        }
      ]
    }
  }
}
</script>

<style lang="less" scoped>
.wujie-test {
  width: 100%;
  height: 100%;
}
</style>
